package j10;

import java.util.Scanner;

public class J1biaozhun {
    public static void main(String[] args) {
//        Scanner sc = new Scanner();
    }
}

class Cat{
    private String name;
    private int age;
    private String sex;

    public void catchMouse(){

    }

    //无参构造
    public Cat(){

    }
    //全参构造
    public Cat(String name,int age,String sex){

    }
    //普通构造
    public Cat(String name){

    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }
}

class Dog{
    private String name;
    private int age;
    private String sex;

    public Dog() {
    }

    public Dog(String name, int age, String sex) {
        this.name = name;
        this.age = age;
        this.sex = sex;
    }

    public Dog(String name) {
        this.name = name;
    }

    public Dog(int age, String sex) {
        this.age = age;
        this.sex = sex;
    }
}